package com.ama.dao;

import com.ama.pojo.Contract;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

@Repository
public interface ContractDao extends BaseMapper<Contract> {
    int deleteByPrimaryKey(Long contractId);

    int insertContract(Contract record);

    int insertSelective(Contract record);

    Contract selectByPrimaryKey(Long contractId);

    int updateByPrimaryKeySelective(Contract record);

    int updateByPrimaryKey(Contract record);
}